<?php
include("lib/utilities.php");
include("controllers/flow.php");
include("controllers/dbcontrol.php");
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
	"http://www.w3.org/TR/html4/strict.dtd">

<!-- created just for you by pete_wiki on <?php echo date("l, F j @ g:ia") ?>. Aww aren't you special. -->

<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  <title><?php echo $db['name'].$doctitle;  ?></title>
  <link rel="stylesheet" href="stylesheet.css">
</head>
<body id="content">
  <table width="100%">
    <tr>
      <td id="header" colspan="2">
        <?php echo "<a href='?'>".$db['name']."</a>".$header; ?>
      </td>
    </tr>
    <tr>
      <td id="main_content" style="align: top">
        
        <?php include("views/".$content); ?>

      </td>
      <td id="sidebar" width="100">
        
        <?php include("views/sidebar.php"); ?>
          
      </td>
    </tr>
    <tr>
      <td id="footer" colspan=2>
          Proudly powered by <strong>pete_wiki</strong> (hey yeah)
      </td>
    </tr>
  </table>
</body>